/**
  ******************************************************************************
  * @file    PmsmParamDefault.h
  * @author  Silan - MC Team
  * @version 1.0.0
  * @date    2017/07/19
  * @brief   PMSM Parameter Default Value Definition File.
  * @details None
  * @note    None
  ******************************************************************************
  * @attention
  * THE PRESENT SOFTWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
  * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME.
  * AS A RESULT, SILAN MICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT,
  * INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE
  * CONTENT OF SUCH SOFTWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING
  * INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
  *
  ******************************************************************************
  * Change History
  * -# 2017/07/19 | v1.0.0 | Wangjianlong | Creat file.
  *
  *
  *
  *
  *
  *
  *
  *
  *
  ******************************************************************************
  */

/*******************************************************************************
 * Define to prevent recursive inclusion
 ******************************************************************************/
#ifndef __PMSM_DEFAULT_H__
#define __PMSM_DEFAULT_H__


/*******************************************************************************
 * Constants and macros
 ******************************************************************************/
#define DEFAULT_PMSM_PwmFreq                    6000
#define DEFAULT_PMSM_PwmDtUS                    1.5
#define DEFAULT_PMSM_SmpDelay                   2.7
#define DEFAULT_PMSM_PolePairs                  3
#define DEFAULT_PMSM_Rs                         0.85
#define DEFAULT_PMSM_Ld                         7.5
#define DEFAULT_PMSM_Lq                         11.6
#define DEFAULT_PMSM_J                          0.3
#define DEFAULT_PMSM_Flux                       0.12
#define DEFAULT_PMSM_BaseFreqMec                120
#define DEFAULT_PMSM_BaseCurr                   25
#define DEFAULT_PMSM_BaseVolt                   312
#define DEFAULT_PMSM_OverModeEn                 1
#define DEFAULT_PMSM_SingleShuntEn              1
#define DEFAULT_PMSM_DampedCoeff4SpdPI          3.5
#define DEFAULT_PMSM_BandWidth4SpdPI            1.0
#define DEFAULT_PMSM_DampedCoeff4SpdComp        1
#define DEFAULT_PMSM_BandWidth4SpdComp          1
#define DEFAULT_PMSM_BandWidth4CurrPI           600
#define DEFAULT_PMSM_DampedCoeff4PllPI          1.7
#define DEFAULT_PMSM_BandWidth4PllPI            20
#define DEFAULT_PMSM_FilterCoeff4Spd            30
#define DEFAULT_PMSM_Kp4WF                      0
#define DEFAULT_PMSM_Ki4WF                      0
#define DEFAULT_PMSM_SpdVal4MTPA                43
#define DEFAULT_PMSM_TorqueCompFreq             42
#define DEFAULT_PMSM_TorqueCompPeakCurr         5
#define DEFAULT_PMSM_FieldWeekPoint             0.83
#define DEFAULT_PMSM_FieldWeekLimitId           3.5
#define DEFAULT_PMSM_ResonancePointVal          53
#define DEFAULT_PMSM_AntiResonanceBandWidth     5
#define DEFAULT_PMSM_ResonancePointVal1         0
#define DEFAULT_PMSM_AntiResonanceBandWidth1    0
#define DEFAULT_PMSM_AccRampVal                 1
#define DEFAULT_PMSM_DecRampVal                 1
#define DEFAULT_PMSM_MaxSpeedPU                 1.1
#define DEFAULT_PMSM_MinSpeedPU                 0
#define DEFAULT_PMSM_OCVal4RMS                  9
#define DEFAULT_PMSM_OCVal4Peak                 17
#define DEFAULT_PMSM_Omega4PhaseLost            12
#define DEFAULT_PMSM_Curr4PhaseLack             0.4
#define DEFAULT_PMSM_MaxIsVal                   14.7
#define DEFAULT_PMSM_StartupCurr                2.5
#define DEFAULT_PMSM_StartupOmega               8
#define DEFAULT_PMSM_StartupRmpAcc              4
#define DEFAULT_PMSM_RateCurr                   6
#define DEFAULT_PMSM_Curr1                      9
#define DEFAULT_PMSM_Curr2                      15
#define DEFAULT_PMSM_LdPercent1                 0.96
#define DEFAULT_PMSM_LqPercent1                 0.96
#define DEFAULT_PMSM_LdPercent2                 0.84
#define DEFAULT_PMSM_LqPercent2                 0.87
#define DEFAULT_PMSM_StartupHeatCurrPU          5
#define DEFAULT_PMSM_ChkOmega                   60
#define DEFAULT_PMSM_ChkVolt                    25
#define DEFAULT_PMSM_MinPulse                   1


#endif /* __PMSM_DEFAULT_H__ */
/*---------------------------------- End of the file ---------------------------------*/

